package com.example.service.Impl;

import com.example.Domain.Vodeo;
import com.example.Mapper.VodeoMapper;
import com.example.service.VodeoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class VodeoServiceImpl implements VodeoService {
    @Autowired
    private VodeoMapper vodeoMapper;
    @Override
    public List<Vodeo> vodeList(Integer pageNum,Integer pageSize) {
        return vodeoMapper.vodeList();
    }

    @Override
    public List<Vodeo> echovodeo(Integer id) {
        return vodeoMapper.echovodeo(id);
    }
}
